.class public Lcom/instagram/creation/video/e/q;
.super Ljava/lang/Object;
.source "VideoFilterUtil.java"


# static fields
.field private static final a:[[F


# direct methods
.method static constructor <clinit>()V
    .locals 4

    .prologue
    const/16 v3, 0x8

    .line 41
    new-array v0, v3, [[F

    const/4 v1, 0x0

    new-array v2, v3, [F

    fill-array-data v2, :array_0

    aput-object v2, v0, v1

    const/4 v1, 0x1

    new-array v2, v3, [F

    fill-array-data v2, :array_1

    aput-object v2, v0, v1

    const/4 v1, 0x2

    new-array v2, v3, [F

    fill-array-data v2, :array_2

    aput-object v2, v0, v1

    const/4 v1, 0x3

    new-array v2, v3, [F

    fill-array-data v2, :array_3

    aput-object v2, v0, v1

    const/4 v1, 0x4

    new-array v2, v3, [F

    fill-array-data v2, :array_4

    aput-object v2, v0, v1

    const/4 v1, 0x5

    new-array v2, v3, [F

    fill-array-data v2, :array_5

    aput-object v2, v0, v1

    const/4 v1, 0x6

    new-array v2, v3, [F

    fill-array-data v2, :array_6

    aput-object v2, v0, v1

    const/4 v1, 0x7

    new-array v2, v3, [F

    fill-array-data v2, :array_7

    aput-object v2, v0, v1

    sput-object v0, Lcom/instagram/creation/video/e/q;->a:[[F

    return-void

    nop

    :array_0
    .array-data 0x4
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
    .end array-data

    :array_1
    .array-data 0x4
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
    .end array-data

    :array_2
    .array-data 0x4
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
    .end array-data

    :array_3
    .array-data 0x4
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
    .end array-data

    :array_4
    .array-data 0x4
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
    .end array-data

    :array_5
    .array-data 0x4
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
    .end array-data

    :array_6
    .array-data 0x4
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
    .end array-data

    :array_7
    .array-data 0x4
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x80t 0x3ft
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x0t 0x0t
        0x0t 0x0t 0x80t 0x3ft
    .end array-data
.end method

.method public static a(Landroid/content/Context;I)Lcom/instagram/creation/video/e/p;
    .locals 5
    .parameter
    .parameter

    .prologue
    .line 33
    invoke-static {p0}, Lcom/instagram/creation/video/e/q;->a(Landroid/content/Context;)[Lcom/instagram/creation/video/e/p;

    move-result-object v2

    array-length v3, v2

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    if-ge v1, v3, :cond_1

    aget-object v0, v2, v1

    .line 34
    invoke-virtual {v0}, Lcom/instagram/creation/video/e/p;->getId()I

    move-result v4

    if-ne v4, p1, :cond_0

    .line 38
    :goto_1
    return-object v0

    .line 33
    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    .line 38
    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public static final a([F)Ljava/nio/FloatBuffer;
    .locals 2
    .parameter

    .prologue
    .line 127
    array-length v0, p0

    mul-int/lit8 v0, v0, 0x4

    invoke-static {v0}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;

    move-result-object v0

    .line 128
    invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;

    .line 129
    invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asFloatBuffer()Ljava/nio/FloatBuffer;

    move-result-object v0

    .line 130
    invoke-virtual {v0, p0}, Ljava/nio/FloatBuffer;->put([F)Ljava/nio/FloatBuffer;

    .line 131
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/nio/FloatBuffer;->position(I)Ljava/nio/Buffer;

    .line 133
    return-object v0
.end method

.method public static final a(FF)[F
    .locals 9
    .parameter
    .parameter

    .prologue
    const/4 v8, 0x2

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/high16 v7, -0x4080

    const/high16 v6, 0x3f80

    .line 95
    cmpg-float v0, p0, v6

    if-gez v0, :cond_1

    move v0, v1

    .line 96
    :goto_0
    if-eqz v0, :cond_0

    .line 97
    div-float p0, v6, p0

    .line 100
    :cond_0
    const/high16 v3, 0x4000

    sub-float v4, p0, v6

    mul-float/2addr v3, v4

    .line 101
    mul-float v4, p1, v3

    add-float/2addr v4, v6

    .line 102
    sub-float v5, v6, p1

    mul-float/2addr v3, v5

    add-float/2addr v3, v6

    .line 104
    if-eqz v0, :cond_2

    .line 105
    const/16 v0, 0x8

    new-array v0, v0, [F

    aput v7, v0, v2

    aput v4, v0, v1

    aput v6, v0, v8

    const/4 v1, 0x3

    aput v4, v0, v1

    const/4 v1, 0x4

    aput v7, v0, v1

    const/4 v1, 0x5

    neg-float v2, v3

    aput v2, v0, v1

    const/4 v1, 0x6

    aput v6, v0, v1

    const/4 v1, 0x7

    neg-float v2, v3

    aput v2, v0, v1

    .line 112
    :goto_1
    return-object v0

    :cond_1
    move v0, v2

    .line 95
    goto :goto_0

    .line 112
    :cond_2
    const/16 v0, 0x8

    new-array v0, v0, [F

    neg-float v5, v4

    aput v5, v0, v2

    aput v6, v0, v1

    aput v3, v0, v8

    const/4 v1, 0x3

    aput v6, v0, v1

    const/4 v1, 0x4

    neg-float v2, v4

    aput v2, v0, v1

    const/4 v1, 0x5

    aput v7, v0, v1

    const/4 v1, 0x6

    aput v3, v0, v1

    const/4 v1, 0x7

    aput v7, v0, v1

    goto :goto_1
.end method

.method public static final a(I)[F
    .locals 2
    .parameter

    .prologue
    .line 121
    sget-object v0, Lcom/instagram/creation/video/e/q;->a:[[F

    rem-int/lit8 v1, p0, 0x8

    aget-object v0, v0, v1

    return-object v0
.end method

.method public static a(Landroid/content/Context;)[Lcom/instagram/creation/video/e/p;
    .locals 3
    .parameter

    .prologue
    .line 14
    const/16 v0, 0xe

    new-array v0, v0, [Lcom/instagram/creation/video/e/p;

    const/4 v1, 0x0

    new-instance v2, Lcom/instagram/creation/video/e/k;

    invoke-direct {v2}, Lcom/instagram/creation/video/e/k;-><init>()V

    aput-object v2, v0, v1

    const/4 v1, 0x1

    new-instance v2, Lcom/instagram/creation/video/e/n;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/n;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x2

    new-instance v2, Lcom/instagram/creation/video/e/o;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/o;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x3

    new-instance v2, Lcom/instagram/creation/video/e/d;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/d;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x4

    new-instance v2, Lcom/instagram/creation/video/e/i;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/i;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x5

    new-instance v2, Lcom/instagram/creation/video/e/f;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/f;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x6

    new-instance v2, Lcom/instagram/creation/video/e/g;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/g;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/4 v1, 0x7

    new-instance v2, Lcom/instagram/creation/video/e/m;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/m;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0x8

    new-instance v2, Lcom/instagram/creation/video/e/e;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/e;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0x9

    new-instance v2, Lcom/instagram/creation/video/e/b;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/b;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0xa

    new-instance v2, Lcom/instagram/creation/video/e/j;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/j;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0xb

    new-instance v2, Lcom/instagram/creation/video/e/h;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/h;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0xc

    new-instance v2, Lcom/instagram/creation/video/e/a;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/a;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    const/16 v1, 0xd

    new-instance v2, Lcom/instagram/creation/video/e/c;

    invoke-direct {v2, p0}, Lcom/instagram/creation/video/e/c;-><init>(Landroid/content/Context;)V

    aput-object v2, v0, v1

    return-object v0
.end method
